package com.atilim.cargo.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

//aracın gönderdiği koordinatları kaydeder
@Entity
@Table (name="CARGO_VECHILE_POINT")
public class VechilePoint extends BaseModel {

	private Date time;
	
	private double lat;
	
	private double lng;
	
	private long vechileId;

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLng() {
		return lng;
	}

	public void setLng(double lng) {
		this.lng = lng;
	}

	public long getVechileId() {
		return vechileId;
	}

	public void setVechileId(long vechileId) {
		this.vechileId = vechileId;
	}
	
	
	
}
